package vip.xiaonuo.supplier.modular.base.delivery.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import vip.xiaonuo.supplier.modular.base.delivery.entity.SupplierDelivery;
import vip.xiaonuo.supplier.modular.base.delivery.param.SupplierDeliveryAddParam;
import vip.xiaonuo.supplier.modular.base.delivery.param.SupplierDeliveryEditParam;
import vip.xiaonuo.supplier.modular.base.delivery.param.SupplierDeliveryIdParam;
import vip.xiaonuo.supplier.modular.base.delivery.param.SupplierDeliveryPageParam;

import java.util.List;

/**
 * 发货方式Service接口
 *
 * @author Mr.wu
 * @date  2025/03/15 19:07
 **/
public interface SupplierDeliveryService extends IService<SupplierDelivery> {

    /**
     * 获取发货方式分页
     *
     * @author Mr.wu
     * @date  2025/03/15 19:07
     */
    Page<SupplierDelivery> page(SupplierDeliveryPageParam supplierDeliveryPageParam);

    /**
     * 添加发货方式
     *
     * @author Mr.wu
     * @date  2025/03/15 19:07
     */
    void add(SupplierDeliveryAddParam supplierDeliveryAddParam);

    /**
     * 编辑发货方式
     *
     * @author Mr.wu
     * @date  2025/03/15 19:07
     */
    void edit(SupplierDeliveryEditParam supplierDeliveryEditParam);

    /**
     * 删除发货方式
     *
     * @author Mr.wu
     * @date  2025/03/15 19:07
     */
    void delete(List<SupplierDeliveryIdParam> supplierDeliveryIdParamList);

    /**
     * 获取发货方式详情
     *
     * @author Mr.wu
     * @date  2025/03/15 19:07
     */
    SupplierDelivery detail(SupplierDeliveryIdParam supplierDeliveryIdParam);

    /**
     * 获取发货方式详情
     *
     * @author Mr.wu
     * @date  2025/03/15 19:07
     **/
    SupplierDelivery queryEntity(String id);
}
